package com.example.demo.mapper;

import com.example.demo.pojo.Enchanter;
import com.example.demo.pojo.Lifebook;
import com.example.demo.pojo.LogTest;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface EnchantMapper {
    //勾魂计划
    public List<Lifebook> queryEnchant(String name);
    //勾魂人数总数搜索
    int queryEnchants();
    //勾魂完成
    void setEnchant(Integer id, Integer set,Integer reaperid);
    //勾魂使者列表
    List<Enchanter> queryEnchanter(String name);
    //勾魂添加
    void addEnchanter(String name, String uuid, Integer gender, String upload, String description, LocalDateTime createTime, Integer role, Integer status);

    void updateEnchanter(Enchanter enchanter);

    void deleteEnchanter(String uuid);

}
